Fix bug in RepoGroup::getRepo(), 0 == 'local'