prevent error when adding repo that has already been added but still appears due to caching