only use env if set for mongo mapper config