Update gitflow/core.py

I only know GitPython very vaguely but this looks more correct to me.