Fix for OpenShift

Hi,

OpenShift env var changed :http://openshift.github.io/documentation/oo_cartridge_guide.html#environment-variables-8 
I made it works on OpenShift with this simple Pull Request.

Cheers
Romain