Otherwise, if we are in intercept mode or logging sub-commands the exit status will be logged with the wrong command.
pwd