Fix a compatibility issue of the DBM KV Store

There is a mistake in the DBM KV Store implementation.  Across the different DBM module implementations, the only consistent interface for database objects is the mapping interface.  In particular, the `.get()` method is not supported in all of them.  So, in some installations, it happens that the DBM store raises `AttributeError` when trying to get a thumbnail key.