Change get_repo_group to use __get internal method