Properly handle `git describe` with RC's and proper version comparison.
Properly handle shell unit tests which check versions.
Merge pull request #7350 from s0undt3ch/hotfix/proper-salt-version-handling

Properly handle `git describe` with RC's and proper version comparison