V4 Install Error

I have V4 installed on a production server which I want to clone on another system.

I am installing using manual steps, but when I execute the following command I get an exception.
$ bench init frappe-bench --frappe-branch v4.13.1

It was working fine until 2 weeks ago. Has something changed after frappe has been upgraded to V6?