terraform: fix copying dependencies
terraform: module orphans