Don't show network related warnings when networking is disabled

Fixes #1891