test-in-vm: workaround for rare vterm matching