[libvirt] [PATCH] virsh: Fix job watching when STDIN is not a tty