Guard against error creating Minimatch