include .targetinfo in the image builder, and allow direct calls to the package_index...