Added check_repo