In https://github.com/modxcms/xpdo/blob/3.x/src/xPDO/xPDO.php#L474-L476, changing `$added = true;` to `$added = $this->setPackageMeta` will allow calls to `addPackage` to get the proper true/false dependant on the actual success.