[WFLY-4181] Set the PROGNAME before the incoming parameters are processed.
Merge pull request #7040 from jamezp/WFLY-4181

[WFLY-4181] Set the PROGNAME before the incoming parameters are processe...