Cleanup the repository