Use repo.ssh_url instead of repo.clone_url.