Make it work on git < 1.8