JBIDE-18863 - browse button causes wrong separators in deployment pref UI

How about reducing the code by calling getController instead? See https://github.com/jbosstools/jbosstools-server/blob/master/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/core/util/JBossServerBehaviorUtils.java#L63