Initial check --repair support
More attic check --repair improvements