scripts/git_version: fix script

Signed-off-by: Stephan Raue <stephan@openelec.tv>