`gdir` is a [`path.py`](http://pythonhosted.org/path.py/api.html) object, and as such, it supports a nicer API. You can do things like `gdir.exists()` instead of `os.path.exists(gdir)`!