tests: followup on network related errors on Debian 9
First, update test-clonebundles.t which was failing since the introduction of
the `$EADDRNOTAVAIL$` common pattern.
Also update two tests from
8695fbe17f7c with a more compact condition line.
Differential Revision: https://phab.mercurial-scm.org/D5445