deposit: documentation and formatting

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: handling import errors

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>