cpio: command not found

Here, save yourself some head scratching with Git

git clone file://localhost/path/to/the.git

This is how you can clone a local git directory without using cpio.