There's no need for the library to replicate a logic when GitHub does that (and does that correctly.) Looking at the commit history, I couldn't see why this was added in the first place.
Java API for GitHub See http://github-api.kohsuke.org/ for more details