Handle temp directory not existent case