Ignore the HTTP_USER_AGENT key of the SERVER variable if it's not present, (CLI mode).

This was causing a notice when executing scripts on the CLI, nothing major.