adapt remove-repo to new separator