add some protection if remote.getHost() returns None when it encounters   a host type it is not prepared for
add some protection if remote.getHost() returns None when it encounters
  a host type it is not prepared for

mozilla/briar-patch,mozilla/briar-patch