netcardconfig: avoid dns-nameservers leaking into gateway variable