return `null` instead `undefined`

return `null` instead `undefined` for undefined items.
its a due to a limitation in localStorage, see https://github.com/mozilla/localForage/pull/42