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

...d.