Stop using staging repository.name, id should be used almost everywhere.  Repository name is also generally unset now anyways, so deprecated it in the REST model.