Avoid the use of an extra leading dot when using --temp-dir.