Use git scheme variable

pyflakes complains: ./core/git.py:57: local variable 'scheme' is assigned to but never used