Minor improvement to the test for NIL value of MEDIAWIKI env variable.