logical not circuit?
Use a old school 24VDC relay, that has NC (normaly closed) and NO (normally open), 
then the put that like a inverter in the middle.

That way when the circuit is closed, the relay is open, and vice verse.