Fix get() and getIn() on null or undefined