Small cleanup of how RegionToEndpoint checks arguments.

I am weary of relying too heavily on tools like error-prone, but I do like removing code. Just making sure!
Thanks @adriancole