Fix -r -c repo, -r -c has overridden it.