I appears that some of the clouds the gate uses can
assign a '.1' address as the controller ip. The algorithm
used to determine the controller ip doesn't take this
into account.
This change detects this case and tries to use the first
one that doesn't start with '172.' or '192.'
Change-Id: If27e4508eb7ca87581345e3c2d562af02ea25f60
Closes-Bug: 1657247