Added RepositoryManager::buildRepository()