- Patch #18252 by tostinni: don't try creating the picture directory when picture support is not enabled.