Since CreateRepository will do a mkdir -p when creating a new repository, we do not need to call AddNamespace before creating the repository.