Catch correct argument for addrepo.