Fix empty component list sent to generator