Return NULL if a path node in getPath() is missing.