Cleaning of the repository