Modified PathFinder.find() to return path if found.