CLOUDSTACK-105,

  there is a trailing '\n' after 'bridge', need to remove it before checking if XS is in bridge mode or ovs mode