diff --git a/src/clone.rs b/src/clone.rs
index 5a564a6ebcdfe7600df0db95be2c1e0bcabb2150..4d0e9ccd64db1b9ecd8435037c127cde9ea6b5f9 100644
--- a/src/clone.rs
+++ b/src/clone.rs
@@ -54,7 +54,7 @@ pub fn get_borg_absolute_folder() -> PathBuf {
     p
 }
 
-/// Check if the input remote dir
+/// Check if the input remote dir contains archives defined in git history
 fn check_remote_dir(url: &PathBuf, adress: &str) {
     let archives = pull::get_archive_list(&url, &adress);
     if archives.len() == 0 {
@@ -65,6 +65,8 @@ fn check_remote_dir(url: &PathBuf, adress: &str) {
         );
         exit(1);
     }
+    let git_commits = pull::get_git_commits();
+    pull::check_archives(&git_commits, &archives);
 }
 
 /// Create a push the tar achive on the selected remote path