qemu-img.commit test correction

Signed-off-by: Cong Li <coli@redhat.com>