Change the way repo is cloned to preserve deploy_keys in case of private repos