Fix passing env to influxdb