Fix dnsmasq.conf generation for ignore-hosts-file

The ignore-hosts-file option did not work; because it's a boolean it didn't return any value and was always undefined when the test was done.  Using $config->exists() fixes this.