Issue #1874726 by hansfn, jonhattan: Fixed Wrong Drupal root if running Drush inside the D8 'core' directory .