I have no idea why this is needed. I went through all those commands but skipped this one. Everything still worked as expected. Can anyone explain it? It might be a good idea to add a comment there.
Possibly @vgaetera can explain the purpose, as he added that segment in September 2021.
Edit: Googling for that file shows info that it is usually systemwide environment variables, but I have no clear idea why touching it (creating an empty file) helps in restricting non-root access. Preventing non-root users from creating it later?