Revert "Fixes NB#137624, crash when creating a new folder in offline mode"