libguestfs.test: Fix a bug in virt-sysprep test

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

libguestfs.test: Fix a bug in virt-sysprep test