when using dotNotation, return undefined if the path cannot be expanded