code: def find_package(cls, team, user, package, pkghash=None, store_dir=None):
          
          cls.check_name(team, user, package)
          dirs = cls.find_store_dirs()
          for store_dir in dirs:
              store = PackageStore(store_dir)
              pkg = store.get_package(team, user, package, pkghash=pkghash)
              if pkg is not None:
                  return store, pkg
          return None, None
docs: Finds an existing package in one of the package directories.