Fixed typos in check_grpolicy.py

Now runs without syntax errors!!