docs: def module2upstream(mod):
      """Return a corresponding OpenStack upstream name for a python module.
  
      mod  -- python module name
      """
      for rule in OPENSTACK_UPSTREAM_PKG_MAP:
          pkglist = rule(mod, dist=None)
          if pkglist:
              return pkglist[0]
      return mod