Renamed PackageManager::containsPackage() to hasPackage()