fix double-prefixed hostname, fixes #38