Making username detection more robust and less chatty.

Was getting a warning because ENV{'USERNAME'}.