code: def resolve_dep_from_path(self, depname):
          
          if is_system_dep(depname):
              return True
  
          for d in self._path:
              name = os.path.join(d, depname)
              if os.path.exists(name):
                  return True
  
          return False
docs: If we can find the dep in the PATH, then we consider it to
          be a system dependency that we should not bundle in the package