whoami.exe isn't on PATH for pwsh under the gitea-runner SYSTEM
context (or pwsh's strict mode treats the lookup as fatal), so the
previous diagnostic line aborted the script before any of the cwd /
ISCC-dir output was printed. Use WindowsIdentity.GetCurrent().Name
which is in-process and always works.