Prepare for repository cleanup