Fixed problem in log_hook (see 62e3fa4235a1)

Solved the problem mentioned in 62e3fa4235a1 by swiching from
    git show $1 > /dev/null
to
    git log -n 1 $1 > /dev/null

I don't know, why the former fails on Travis CI, but it works
now! :)