virttest.libvirt_vm: Fix one line cond-expr

Fix the one line conditional expression which is against PEP8.

Signed-off-by: Hao Liu <hliu@redhat.com>