Remove usage of deprecated APIs

:lipstick: perhaps

```coffee
[repo] = atom.project.getRepositories()
```