#472 Bugfix in error for non-writable cache directory