Assert keyName not null and not undefined in get() and set()
Merge pull request #2796 from uzzz/master

Assert null and undefined keyName in get() and set()