ioredis returns a blank object, {}, if there is no key with hgetall. Previously, node-redis returned nil. So we need to check for a blank object as well as a nil object.