Fix dir nesting for puppet modules.