validate parameter never used in Base.read_repos()
move is_glob_pattern() to dnf.util

It has uses outside of queries.