(PUP-3274) Make lookup function's support 4x compliant as standard
When future parser is in effect, the return value is nil. This commit
removes the alternative return of undef in this case. It also removes
the extra bi directional transformation support between nil and undef.