For travis runs on branches, local master never exists there's no branch
tracking origin/master.
This causes `git fetch origin master` to fetch into `FETCH_HEAD` instead
of master.
This PR will explicitely fetch origin master into local master, and use
that for the log comparison.