Code review src/git2r_blob.c and src/git2r_tag.c

* Change to have consistent style of argument checking