Use available variable rather than calling uname again.