states.git.latest(): fix bad format call

salt/states/git.py:272: [E1101(no-member), latest] Instance of 'dict' has no 'format' member
Merge pull request #9244 from cvrebert/patch-1

states.git.latest(): fix bad format call