[WFLY-2747][WFLY-2754] Fix bug overriding app name for product