AS7-5403 Adding modcluster via the CLI fails

https://issues.jboss.org/browse/AS7-5403