FIX Mongodb registry unregister operation did not return object