And rollback to $LOGNAME when it isn't.
This remove the need to add $LOGNAME to env_keep in the sudoers file.
The $SUDO_USER variable is automatically set by sudo when it is used to
the user who used it so it fullfill the same role as $LOGNAME do in
phpContainer.