Fixed bug in package builder error cleanup.
Fixes for InventoryRequest schema.