JBTM-2164 Update to use the cut command to get the jboss-as version