Do not take into account the "none" style.

Fixes export module when no style is used.