Get a repository by collection name