HEAD-1712: Fixed logic for active/inactive packages
HEAD-1712: Fixed logic for active/inactive packages

kaizengarden/sdc-headnode,numericillustration/sdc-headnode,joyent/sdc-headnode,joyent/sdc-headnode,kaizengarden/sdc-headnode,kaizengarden/sdc-headnode,numericillustration/sdc-headnode,numericillustration/sdc-headnode,joyent/sdc-headnode,kaizengarden/sdc-headnode,joyent/sdc-headnode