Add import checking to gbq.py.