bug 983322 - sanitize preferences-branch