Fix the output of a network-dependent doctest.