Fix git-svn on Yosemite (which uses Perl 5.18)

git-svn stops working on Yosemite because it is unable to find the
SVN::Core module.

This should fix issue #31310.
Instead let's query this using `perl --version`