Fixes test_utils dns check problem

The test_network function was raising a exception
with the review.openstack.org jenkins jobs that
was keeping the patches from being merged.