Fix error when charts folder does not exist yet