/**
  * {@inheritdoc}
  */
 public function getPathMapping($repositoryPath, $packageName)
 {
     Assert::string($repositoryPath, 'The repository path must be a string. Got: %s');
     Assert::string($packageName, 'The package name must be a string. Got: %s');
     $this->assertMappingsLoaded();
     if (!$this->mappings->contains($repositoryPath, $packageName)) {
         throw NoSuchPathMappingException::forRepositoryPathAndPackage($repositoryPath, $packageName);
     }
     return $this->mappings->get($repositoryPath, $packageName);
 }