minor fix to exporting XML modules when module is inactive.


git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple@8810 3d254a34-79dc-0310-9e5f-be208747d8a0