Fix attribute key and category installation for package.