Fix removing root repos.