Fix EZP-21797: recursive sudo usage.