fix NPE in MacrosFactory (when there is a module without file)