When creating a repository, make sure there are no repositories with the same name, deleted or active.
Merge in 11692:9c5a2c5f560d