Fixed a bug crashing the web interface when using simple host names without dots