return nil on repo.close

```
../rugged_repo.c:1080:1: warning: control reaches end of non-void function [-Wreturn-type]
```