[WFLY-1388] Cannot load module alias defined for root deployment

https://issues.jboss.org/browse/WFLY-1388