Fixed end_to_end test failure.

For some weird reason, the way Travis CI checks out the repo, git log
doesn't show any history of the checked out branch. There is only one
log statement and it's when the repo was cloned.

Fix may be dirty but so far it works. I guess it's ok.