Update lib/PathFinder.php