make the console notifiacation code more robust - closes #649

Signed-off-by: Jiri Moskovcak <jmoskovc@redhat.com>
Signed-off-by: Richard Marko <rmarko@redhat.com>

rmarko: replaced tabs with spaces