Docker-credential-desktop.exe executable file not found in $PATH using wsl2

Why does it work though?