Don't hard-code git hash size

Signed-off-by: Sven Strickroth <email@cs-ware.de>