Fix for git version 1.8.1.3