Determine target where appropriate based on publication blackout

If target is null in an update call, do NOT include it in the posted metadata
Merge pull request #265 from datadryad/dan-trello-28

Fix issue of null pointer exceptions due to empty targets