don't crash when getting value at subpath whose parent's value is undefined