cleanup repository checkout