Check whether findNearestPoly actually did find a poly.
Merge pull request #531 from eightyeight/navpath-findnearestpoly-check

Check whether findNearestPoly actually did find a poly