[WFLY-2633] Correct validation of duplicate runtime names