Update ComposerPathFinder.php

```getLocalRepositories``` method for ```Composer\RepositoryManager``` is now marked as deprecated and throws an exception.
This change is an effective workaround.
Merge pull request #5 from kix/patch-1

Update ComposerPathFinder.php