code: def nonlocal_packages_path(self):
          
          paths = self.packages_path[:]
          if self.local_packages_path in paths:
              paths.remove(self.local_packages_path)
          return paths
docs: Returns package search paths with local path removed.