Make run-gevent script compatible with Django 1.6