fixed exception when trying to access dict item

Change-Id: I9faa898efa9e54844f1816c75d51d3cb94c1c50a
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1092075
Signed-off-by: Jiri Moskovcak <jmoskovc@redhat.com>