Fixed a bug where the Drupal root couldn't be found for aliased URL paths.