Revert "Added srdir to git version check"

This reverts commit 864e728705d60c53342f8cbf409ceadf0898d9a1.