build: Have short git revision pointing to HEAD and not master

This avoids giving wrong information about the revision when building
dfc from other branches (eg: stable).