Code for uninstalling 10gen does not work always, fixed here.