Fix improper scoping of noOptionsRestore flag in mongorestore