Fixed API of Repository.create_remote