don't crash if the config has no server name...

we will fix this with adding a validation for the
settings dialog in #4