prevent empty mo file generation
Merge pull request #1723 from ezannelli/fix/prevent-empty-mo

prevent empty mo file generation