deposit: clean error messages after import

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>