Hello, Harm. Assuming that changing the shell to /bin/bash is not a desirable alternative, could you please try the first workaround from this article:
https://support.plesk.com/hc/en-us/articles/12389146640791-Git-Deployment-actions-in-Plesk-are-not-executed-application-name-command-not-found