[WFLY-2992] Use correct error message