FIX: save structure and packages.keywords/package.keywords when
directory exists