Restore repository

Phew...that was a close one!