fix mongodb port detection
do not override old configs when upgrading packages
mongodb recipe