Fix #270 and #276 - pathCheck should handle undefined paths and fix INAVL typo
Merge pull request #271 from gideonthomas/issue270

Fix #270 - pathCheck should handle undefined paths