allow gitrev to be read from file

needed for building outside of a git repo

for post frodo