utils_net: Handle missing ctypes module on python 2.4

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