Fix a crash in autodiscover mode when netifaces is not installed