Refactor method to determine excluded repositories in the tool shed's install and test framework.