More informative error message on failure to resolve tmpdir