[chromium-freeworld: 4/32] Fix the policy templates handling