improve error message when asset key not found
adapt for change in leveldb package