Fix #270 - pathCheck should handle undefined paths

Fix the name of this file, some kind of typo