Fix .git/ discovery at the root of UNC shares