ship: simplify _punani_resolve_package