Coffeescript has an existential operator `?` which reads a little bit better, ie:

```coffeescript
if not msg.match[2]?
```

It might also read nicer to assign this to a variable, ie `repo` since the hear regex is pretty hard to grok.