hoodie.store.add('object-type', {}) fails with undefined error

Message is `"object-type" is invalid object type. undefined.`

There should be no undefined.