docs: function isUnpackedDir (dirPath, pattern, unpackDirs) {
    if (dirPath.startsWith(pattern) || minimatch(dirPath, pattern)) {
      if (!unpackDirs.includes(dirPath)) {
        unpackDirs.push(dirPath)
      }
      return true
    } else {
      return unpackDirs.some(unpackDir => dirPath.startsWith(unpackDir))
    }
  }