Fix for GIT repo discovery