Traceback (most recent call last): File "/opt/chainguard/gftools/lib/python3.13/site-packages/git/__init__.py", line 296, in refresh() ~~~~~~~^^ File "/opt/chainguard/gftools/lib/python3.13/site-packages/git/__init__.py", line 287, in refresh if not Git.refresh(path=path): ~~~~~~~~~~~^^^^^^^^^^^ File "/opt/chainguard/gftools/lib/python3.13/site-packages/git/cmd.py", line 926, in refresh raise ImportError(err) ImportError: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT_PYTHON_GIT_EXECUTABLE - explicitly set via git.refresh() All git commands will error until this is rectified. This initial message can be silenced or aggravated in the future by setting the $GIT_PYTHON_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|silent|none|n|0: for no message or exception - warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default) - error|e|exception|raise|r|2: for a raised exception Example: export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gftools-packager", line 4, in from gftools.scripts.packager import main File "/opt/chainguard/gftools/lib/python3.13/site-packages/gftools/scripts/packager.py", line 24, in from gftools import packager File "/opt/chainguard/gftools/lib/python3.13/site-packages/gftools/packager/__init__.py", line 39, in from gftools.packager.build import build_to_directory File "/opt/chainguard/gftools/lib/python3.13/site-packages/gftools/packager/build.py", line 12, in import git File "/opt/chainguard/gftools/lib/python3.13/site-packages/git/__init__.py", line 298, in raise ImportError(f"Failed to initialize: {_exc}") from _exc ImportError: Failed to initialize: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT_PYTHON_GIT_EXECUTABLE - explicitly set via git.refresh() All git commands will error until this is rectified. This initial message can be silenced or aggravated in the future by setting the $GIT_PYTHON_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|silent|none|n|0: for no message or exception - warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default) - error|e|exception|raise|r|2: for a raised exception Example: export GIT_PYTHON_REFRESH=quiet