Fix global leak of require and provide variables introduced in 2.11.0.
Merge branch 'hotfix/2.11.2'