deposit: fix for duplicated import error messages

fixes a following bug:
After import, when it fails, the failure warnings are duplicated.