test-getcwd: don't leave behind a confdir3/ directory upon interrupt