fix traceback gathering network facts on Solaris containers (4567)

Stops a traceback from happening when gathering facts(network interfaces) on Solaris containers.