WidgetHandler: Check GetString()'s return value.

CID=229804
extensions: Check GetString()'s return value.

CID=229802
CID=229803
Merge pull request #2713 from rakuco/getstring-cid-issues

Check the return value of some GetString() calls.