infra: Makefile.dist fix GITHEAD initialization

Signed-off-by: Thomas Schoebel-Theuer <tst@1und1.de>