Fix typo in doctor.rb

And another thing: in my case folder '.git' was not in the repository 'HOMEBREW_REPOSITORY' and I had to use command:
```bash
git init
```
before corrected command