Stuart already fixed this in https://github.com/wildfly/wildfly/commit/fb707d8