virttest.utils_disk: Fix python 2.4 incompatibility

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>