Remove the correct temporary directory after having created the