NPE protection if some folders are missing