Fixes a bug in mongo installer