startup: Fix possible crash in startup notifications
I ran into this while looking into gnome-shell#3025.
A GAppInfo is not guaranteed to have a filename or an application (or rather a desktop ID). Add a check for application_id to be non-NULL before trying to call sn_launcher_set_application_id, which would crash otherwise.