Here, use s_session_temp_dir != nil (it isn't necessarily initialized to a stringref).