remove obsolete package.mask entries