Fix Git completion in newer versions of Mac OS X and Git