as-app-desktop: don't deference invalid lists
as-app-desktop: don't deference invalid lists

Malformed .desktop files might causes crashes when
returned lists are NULL.

hughsie/appstream-glib,hughsie/appstream-glib,hughsie/appstream-glib