Update ComposerPathFinder.php

[fix] Clean up the ```ComposerPathFinder::isPackageInstalled()``` ```foreach``` part
Merge pull request #6 from kix/patch-1

Update ComposerPathFinder.php