"list graphs" action: Re-implement "print_host_list".