findMatchPath = rawPathname => {
  const trimmedPathname = cleanPath(rawPathname)

  const pickPaths = matchPaths.map(({ path, matchPath }) => {
    return {
      path: matchPath,
      originalPath: path,
    }
  })

  const path = pick(pickPaths, trimmedPathname)

  if (path) {
    return normalizePagePath(path.route.originalPath)
  }

  return null
}
Return a matchpath url
if `match-paths.json` contains `{ "/foo*": "/page1", ...}`, then
`/foo?bar=far` => `/page1`

@param {string} rawPathname A raw pathname
@return {string|null}