Fixes issue when netifaces module is not installed on the server.