improving version to not print tracebacks just because it is not in a git repo