On the use of the envelope model for down-ramp injection in laser-plasma accelerators