Properly set uuid in case somewhere changes pkgname
Return an error if the abi cannot be determined