There was no test ensuring that we validate `.git` paths. We do, but let's add a test to make sure that we never regress this.