This reverts commit b5eededbe9, reversing changes made to 799a478f2a. This change was wrong as the GitDriver was then telling it supports all local URIs even when they are not git repositories.
b5eededbe9
799a478f2a