If this is necessary (and not possible to achieve with the Tar library) it should probably happen just before creating the tarball, and reset the current directory back to the value it had before. Otherwise I think users will experience that the directory is changed when they use the `source-directory` switch.