[entropy.db.sqlite] fix the retrieveDependencies cache invalidation paths