Cleanup XApplicationPackageManager