Added support for minimatch pattern matching to allow excludes inside the given path