Bug 914477 - fix regression of permission manager