HostsPlugin: Fix debug message when we get an opening error