Issue #2783749 by alexpott, bircher: [regression] Config directories should be created by installer if present in setings.php and if possible (cherry picked from commit 9e2f220d)