- getRevision writes git output to log (requires enabled debugging to see it) - added check for tmpdir