fix(task): only retrieve commit info if git actually works
fix(task): only retrieve commit info if git actually works

ngld/knossos,ngld/knossos,ngld/knossos,ngld/knossos,ngld/knossos,ngld/knossos,ngld/knossos