AVISIMPL-248 - Bitrepository ingester doesn't ingest last files: Rework after review.