Fix snp log error when folder does not exists