default-apps: Don't crash when there are no apps for a mimetype
When a mimetype has no apps, we get a selection notification anyway, but the selected item is NULL. So, account for that and don't crash.
When a mimetype has no apps, we get a selection notification anyway, but the selected item is NULL. So, account for that and don't crash.