Workaround for UNDEPLOY_FINISH.action() returning wrong value