Check if Application has valid name in filter fn

The bug was introduced in commits closing #26. Before #26 Application name was never None, if name was unknown, "N/A" string was used instead of None.

Closes rhbz#1009189

Signed-off-by: Jakub Filak <jfilak@redhat.com>