Changed definition of cloning repository.