Restarting after corrupted repo