[WFLY-2633] Correct validation of duplicate runtime names
Merge pull request #5590 from bstansberry/WFLY-2633

[WFLY-2633] Correct validation of duplicate runtime names