Possible bug on setting whitelisted packages