Fixes 4052: Adjust the distributePolicy to tolerate Relay servers

TIcket: http://www.rudder-project.org/redmine/issues/4052

To be merged in master