internal/initwd: allow tests to pass when $PWD contains symlinks (#26015)
internal/initwd: allow tests to pass when $PWD contains symlinks (#26015)

Fixes #26014
tommynsong/terraform,ewbankkit/terraform,rnaveiras/terraform,rnaveiras/terraform,apparentlymart/terraform,ewbankkit/terraform,ewbankkit/terraform,apparentlymart/terraform,hashicorp/terraform,pdecat/terraform,apparentlymart/terraform,pdecat/terraform,hashicorp/terraform,tommynsong/terraform,apparentlymart/terraform,pdecat/terraform,apparentlymart/terraform,tommynsong/terraform,ewbankkit/terraform,pdecat/terraform,rnaveiras/terraform,hashicorp/terraform