Prevent null pointer exception when DOI has no metadata

In this case, EZID will likely throw an error due to insufficient
metadata, but we should be catching the problem at a different location.
Improve error handling for EZID registrations
Merge pull request #461 from datadryad/doi-registration

Robustness of DOI registration