Skip all modules with "none" instead of ""
replaced for with oneliners
fix bug when using bare=yes