virt-libvirt: fix bug of virsh dump configuration.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>