Issue #2960237 by Jon Pugh: Sites on remote servers fail on Platforms that use git or composer, with Drupal in a subfolder