fix defaults.conf.tpl logic for hiawatha.conf copy