Add TODO comment.

build.py tries to rev-parse before fetch. It is good for detached refs but can
be problematic for branches.
Add oneof support