[PATCH] qemu monitor: Fix incorrect error message condition