check that repo exists