Fix error output in PackageConfig