fix pattern->glob for glob-meta