Check if Application has valid name in filter fn

Closes rhbz#1009189

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Merge pull request #31 from abrt/rhbz1009189

Check if Application has valid name in filter fn