web-ui: fix for hostname detection from location