Might as well get rid of this `Lang.isUndefined()` call while you're in here.

A further optimization might be to avoid the `value()` call if the key doesn't contain a ".".