Add support for headnode base-image selection