Stop map failures due to undefined return values

If a function returns nothing at all, map will raise an error. Instead act as though it is nil.

I believe this is preferred behavior, but I did it for the invoke case where the invoked function has no return value, causing invoke to fail, certainly that is incorrect.