code: def find_unique_repos(where):
      
      repos = Dict()
      path_uuids = Dict()
      log.debug("find_unique_repos(%r)" % where)
      for repo in find_find_repos(where):
          # log.debug(repo)
          repo2 = (hasattr(repo, 'search_upwards')
                   and repo.search_upwards(upwards=path_uuids))
          if repo2:
              if repo2 == repo:
                  continue
              else:
                  repo = repo2
  
          if (repo.fpath not in repos):
              log.debug("%s | %s | %s" %
                        (repo.prefix, repo.fpath, repo.unique_id))
              repos[repo.fpath] = repo
              yield repo
docs: Search for repositories and deduplicate based on ``repo.fpath``
  
      Args:
          where (str): path to search from
  
      Yields:
          Repository subclass