It turns out the problematic directory is used, but only if the ImageMagick option is set. Adjust accordingly, and hopefully this is the final attempt to fix.