diff --git a/cli/src/main/java/org/jboss/as/cli/impl/ExtensionsLoader.java b/cli/src/main/java/org/jboss/as/cli/impl/ExtensionsLoader.java
index <HASH>..<HASH> 100644
--- a/cli/src/main/java/org/jboss/as/cli/impl/ExtensionsLoader.java
+++ b/cli/src/main/java/org/jboss/as/cli/impl/ExtensionsLoader.java
@@ -138,7 +138,7 @@ class ExtensionsLoader {
             if(!module.isDefined()) {
                 addError("Extension " + ext.getName() + " is missing module attribute");
             } else {
-                final ModuleIdentifier moduleId = ModuleIdentifier.create(module.asString());
+                final ModuleIdentifier moduleId = ModuleIdentifier.fromString(module.asString());
                 ModuleClassLoader cl;
                 try {
                     cl = moduleLoader.loadModule(moduleId).getClassLoader();
[WFCORE-<I>] Use fromString instead of create when the text may include a slot