Correct handling of env variable substitution into standalone.xml

https://bugzilla.redhat.com/show_bug.cgi?id=1080024