Added backward compatibility for older git clients

This fixes #3