Fixing default hostname to remove trailing newline