Fix bootstrap test: .git is a directory, not a file