      """
      name = name.lower()  # compare package name against lowercase name
      packages = pkg_resources.working_set.by_key.keys()
      for package in packages:
          if package.lower().replace('-', '_') == name:
              return True
      return False
  
  
  def get_package_path(name):
 
</s> remove     name = name.lower()  # use lowercase version to be safe
 </s> add  </s> remove     name = name.lower()  # compare package name against lowercase name
 </s> add 
        if package.replace('-', '_') == name:
      """
      name = name.lower()  # compare package name against lowercase name
      packages = pkg_resources.working_set.by_key.keys()
      for package in packages:
        if package.replace('-', '_') == name:
              return True
      return False
  
  
  def get_package_path(name):
keep keep keep keep replace keep keep keep keep keep
 Revert "Always compare lowercase package names"

This reverts commit 7d77dc490fb2f8cf5232690f3775e77cdadc59ee. 
spacy/util.py