Travis: Correctly determine previous deploy hash again
Added escaping to square brackets so it matches the whole string including the square brackets
Travis: Fix git remote.origin.fetch
So it's possible to checkout other branches as well.
This is to make it possible to checkout master and merge to it [deploy]