Use predicate method to validate RepoConfig