#1791: Handle exception while configure `host` is null