fix repo-patcher.sh for torch patch, add missing carbon.dependencies file