autoprocessing: minor refactor, use correct variable for tasks db path.
autoprocessing: minor refactor, use correct variable for tasks db path.

mytardis/mytardis_ngs_ingestor,mytardis/mytardis_ngs_ingestor