Fixed a typo

Had an extra } in the onlyif statement causing the mongo ext to get
compiled on every single provision