Update ComposerPathFinder.php

```getLocalRepositories``` method for ```Composer\RepositoryManager``` is now marked as deprecated and throws an exception.
This change is an effective workaround.