Add some additional checking to g_app_info_create_from_commandline to make it handle strange inputs more elegantly.