Fix qemu_img.commit to get the right images to boot

BZID: 1135894

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