COOK-2337 making gunicorn environment default to {} instead of nil
(cherry picked from commit 352204dd7419c41583bf9534698a29d1a6c725e1)