refactoring GMEConcepts.getValidConnectionTypesFromSource