As there is no Ext.$classname getClassName(Ext) returns the empty string.

Although Ext is not created with Ext.define maybe it still makes more sense to return 'Ext' e.g. by statically adding the $classname property to the Ext object ?

This issue applies to many core classes e.g. Ext.Class