DNN-5079 Update GetModuleByDefinition to look at definition name