Fixed reference to incorrect variable if unknown host configured crash.