fix bug in Repository#print_list when scm_info is None