fix: #3633186 [regression] core/scripts/dr and core/scripts/drupal fail to...
fix: #3633186 [regression] core/scripts/dr and core/scripts/drupal fail to find the autoloader when the docroot is web/
By: gábor hojtsy
By: phenaproxima
(cherry picked from commit 912a0d3b)