clone: leave repo in place after checkout errors