Problem: `vim.system()` doesn't invoke a shell, while the Vimscript function `system()` does. Solution: Revert the change from 35af766de6 and use `vim.fn.system()` again to actually invoke a shell.
35af766de6