Handle case when tmp directory is missing