Get the user in a more robust way.

'os.getlogin' doesn't work for Jenkins - getpass.getuser() should