deployment: fixed shutdown ready check

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>