virttest.utils_test: make both relative and absolute path working

current usage would fail when specifying abs path for image_name

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
Merge pull request #1389 from xiaoqing-wei/dst_path_fix

virttest.utils_test: make both relative and absolute path working