A few more steps to unify the interface for db metadata and ebook metadata.
Fixed when openlibrary search gives no result. Everything in librarianlib now passes flake8.