Make compatible with git < 1.7.2