Migrate to minimatch for environment property matching