Cleanup of the repository