parse attributes from pkg_dict.attributes and not from extras