dnsmasq: fix NoMethodError on empty domain name