It is undef when running under the test suite. As far as I've seen, it doesn't seem to break anything else in test context. Is there a better way to fix it?