[dist] Improve logging

Give more of a clue when unable to reach the rep server.