Output a theme module only if there is such a module.

HT Isarra

Change-Id: Id64d16c0b0cbbe64655e394d35b296e67caec2b1