Fix list index out of range
Fix list index out of range

When clicking with the mouse in rows without links, gertty
crashes.

Change-Id: I0005d76a6804cbdd2d366c6e07f15c1316cfed90

stackforge/gertty,openstack/gertty