added check to purge non 2.0 package on osfamily == RedHat