SENTRY-416: TestConfigTool.testQueryPermissions regressed (Sravya Tirukkovalur via Prasad Mujumdar)