Fix retrieving orphaned packages through /api/packages/