correct retrival of mongo db/port for openshift