Whitelist getcwd()

maintenance/dumpTextPass.php calls getcwd() at the beginning.

Change-Id: I67ef3ba638252722794dcfaced87402968cea663