Minor refactoring of glob search in verify()