make profile package.unmask support similar to package.mask support