Fixes for shell executor with failed prepare environment
Was running into the described error below: https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading
Found I had to delete the .bash_logout for both the gitlab-runner and the root users.