fix a bug in package-manager/get-features