Allow undefined/null as source for Object.assign

Fixes #1448