Get BodhiConnector.query_active_releases working without a WSGI environ (#11)

This codepath triggering exceptions when run by the fcomm-cache-worker