Detect broken cloned repository and offer to delete and reclone.
park cloned repo into a .tmp folder until repo is cloned without error, then rename.