Revert "Added exception to pathfinder"

This reverts commit 81115d93d8d915c620f1deb89cb716320ca47b2e.