Add error handling for `tar -x` command in `exportGitRevision()` method