Handle trailing newline on uname