Fixed to DIP upload errors.
Fixed to DIP upload errors.

Fixed false error showing during async deposit and fixed issue with synchronous
DIP uploads being classified as async in the database.

sevein/archivematica,michal-ruzicka/archivematica,sevein/archivematica,eckardm/archivematica,eckardm/archivematica,artefactual/archivematica,michal-ruzicka/archivematica,sevein/archivematica,michal-ruzicka/archivematica,artefactual/archivematica,artefactual/archivematica,michal-ruzicka/archivematica,eckardm/archivematica,sevein/archivematica,eckardm/archivematica,artefactual/archivematica