Simplify 'clone_repository'