Check for directory tmp