libvirt.test: Fix a bug in vncdisplay test

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #251 from liyangfnst/vncdisplay_fix

libvirt.test: Fix a bug in vncdisplay test