utils_test.libvirt: Support source format when prepare pool

Signed-off-by: Yanbing Du <ydu@redhat.com>