Following suggestions from code review, this commit avoid re-using the working directory from different versions of the library.