change needs-session() to use the flattenPkgDesc()