added has_repos scope.