flatpak: Fix logic error check of GsFlatpak in gs_plugin_download
GsFlatpak instance can be NULL if there are other apps for download coming via other plugins. Since the last reference of GsFlatpak was in the previous loop and the check is outside the loop, this seems as a logical error. Instead, check if the current plugin as no apps to download and if so, return early.