test_suite: fix replay is-device-on with is-device in marsadm wait-resource