If pkg->uid is null when requested from pkg_get then generate it
Properly set uuid in case somewhere changes pkgname
Return an error if the abi cannot be determined
When generating manifest ensure the abi is set