Revert "Merge remote-tracking branch 'github-ercanozkaya/master'"
This reverts commit b5eededbe9bfa62f9f74fdb62f685bc47af9a288, reversing
changes made to 799a478f2ab1297ba05c6651bf8da6d9fb988683.
This change was wrong as the GitDriver was then telling it supports
all local URIs even when they are not git repositories.