Merge "Fix formatting of message when retrying clone"
diff --git a/project.py b/project.py
index 82fa848..d82f3d7 100644
--- a/project.py
+++ b/project.py
@@ -2182,8 +2182,8 @@
         try:
           self._CheckDirReference(self.objdir, self.gitdir, share_refs=False)
         except GitError as e:
-          print("Retrying clone after deleting %s" % force_sync, file=sys.stderr)
           if force_sync:
+            print("Retrying clone after deleting %s" % self.gitdir, file=sys.stderr)
             try:
               shutil.rmtree(os.path.realpath(self.gitdir))
               if self.worktree and os.path.exists(