deposit: api response on missing file fix

* Fixes issue with API response when file was missing.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>