code: def get_pkg_path(self, item):
          
          if not isinstance(item, str):
              return None
  
          parts = urlsplit(item)
          if parts.scheme == 'pkg' and parts.netloc:
              return (parts.netloc, parts.path)
  
          return None
docs: Get the package path for the
  
          :param str item: A resources full package path
          :return: The netloc and path from the items package path
          :rtype: tuple[str, str]