Fix qemu_img.commit to get the right images to boot

Signed-off-by: Chengyou Liu <cheliu@redhat.com>