Improve error reporting in hdrFromPackage()