New mechanism for `loadpkglist` + new function `attpkglist` used by
`savepkglist`.
 New mechanism for `loadpkglist` + new function `attpkglist` used by `savepkglist`.