Typo in "Tutorial: Building a Dashboard using Horizon"

In the tutorial "Building a Dashboard using Horizon" there is a bug
in the view.py example that in case of exception return a var that
has not been defined.

Closes-Bug: #1388576
Change-Id: I271a30215bb245ffa65ee76e86027ae003816a15