Return nil if p.compute/packager-for-os throws

When looking up the packager for a node, return nil if the underlying
packager-for-os call throws.