BUG: fix PackageInfo ctor to work wo call by name.