[WIP] Fix producing status when there is an unreadable folder in the working directory.

I don't really know my way around `libgit2` much, but I though I'd at least have a go at writing a test for this case.

**TODO**
- [ ] Write a test for `git_status_list_new` too?
- [ ] Make the tests pass :trolleybus: