[WFLY-490] Properly handle case in the Provider enum

Minor fix.