Fixed a small error in has_ebook() in work model.

That seems to be failing when that work is not indexed in solr. Fixing
by initializing the solr data to {} instead of None.