Revert "test: Stop using realpath preemptively."
Revert "test: Stop using realpath preemptively."

This reverts commit 9ce67a88ed382f1bfe05c9ccf19e2e9a5fefd4e5.

sdalton1/legion,StanfordLegion/legion,sdalton1/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,sdalton1/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,sdalton1/legion,sdalton1/legion,StanfordLegion/legion,sdalton1/legion