Improved script case check reports to include more accurate source info.

- Fixes bugreport:8013, thanks to Dastgir Pojee
  http://hercules.ws/board/tracker/issue-8013-script-add-str-problem/

Signed-off-by: Haru <haru@dotalux.com>