[2273] avoid inexisting directory error on preference page