[WFLY-2658] (-Djboss.dist) jboss.dist property is not correctly propagated using -Djboss.dist

https://issues.jboss.org/browse/WFLY-2658