error out appropriately in trojan; use package uuid for trojan (in case name collisions in packages)