Wrap git_repository_is_bare

This is quiet a trivial patch. Does exactly what the subject says.