Repository#search, Repository#lookup working for existing repositories