The light green vacuum hose should not have vacuum on it when the heater is on.
It will have vacuum when the heater is off, this will close the heater tap to stop hot water getting to the heater core.
On an XF Ghia, ZL or FE, the vacuum is controled by a solenoid valve that switches the vacuum to the heater tap (light green) vacuum hose.
The solenoid is near the relays to the left of the steering column, it should click when the temperatere control lever is coming to the full blue section, not the blended red/blue, the control lever also operates the blend door and thermostat via an electric motor.
On a GL,S or Fairmont it is not the same the vacuum is controled by the temperature control directly, and the blend door and thermostat are control via a cable from the temp control.