diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index 3dcfd6e4..e32af9cf 100644 --- a/common/flatpak-dir.c +++ b/common/flatpak-dir.c @@ -2422,11 +2422,7 @@ flatpak_dir_get_origin (FlatpakDir *self, deploy_data = flatpak_dir_get_deploy_data (self, ref, FLATPAK_DEPLOY_VERSION_ANY, cancellable, error); if (deploy_data == NULL) - { - g_set_error (error, FLATPAK_ERROR, FLATPAK_ERROR_NOT_INSTALLED, - _("%s not installed"), ref); - return NULL; - } + return NULL; return g_strdup (flatpak_deploy_data_get_origin (deploy_data)); }