Add check for outdated polkit file. Closes #3209.