Additional check on REQUEST_URI

I've been working with PHPUnit and Symfony2 and have noticed that it sets REQUEST_URI and other information to a blank string, but doesn't set SERVER_NAME.  This results in an undefined index error when trying to run tests with debug set to true for the Symfony request.

This patch just expands on where you already are trying to check for CLI usage.