Medium-induced radiation with vacuum propagation in the pre-hydrodynamics phase