On startup check that repository state are consistent and try to fix eventual issues.
On startup check that repository state are consistent and try to fix eventual issues.

This could be extended later by adding more consistency checks.

abate/opam,abate/opam