Fix getting hostname for error messages about device servers config
Error messages were including the wrong hostname, spotted while investigating this issue with a manager device refusing to start.
Error messages were including the wrong hostname, spotted while investigating this issue with a manager device refusing to start.