check if repo exists