does the check for the existing repo