Issue #2011116 by kgoel | DmitryDrozdik: Replace drupal_container() with Drupal::service() in the path module.