corrected clone_repository(...)