because we are trying to do getcwd() from a deleted directory. thanks to zackw@panix.com for the help, and seawood@netscape.com for the patch. r=syd, sr=sspitzer git-svn-id: svn://10.0.0.236/trunk@121554 18797224-902f-48f8-a5cc-f745e15eee43