Fix analyzer warning in git-salt

TBR: @gaurave