Cleanup repository