Style: parentheses around ternary, explicit comparison vs. `NULL`

But maybe we should just disallow a `nil` message, like libgit2 does?