Handling no mongo driver and no config file better