diff --git a/pv2/importer/operation.py b/pv2/importer/operation.py index 29b9144..57aafc6 100644 --- a/pv2/importer/operation.py +++ b/pv2/importer/operation.py @@ -787,6 +787,7 @@ class GitImport(Import): if not metafile_to_use: print('Source: There was no metadata file found. Skipping import attempt.') + self.perform_cleanup([source_git_repo_path, dest_git_repo_path]) return False sources_dict = self.parse_metadata_file(metafile_to_use)