Added imginfo format check

Resolves: http://bugzilla.redhat.com/show_bug.cgi?id=969296
(CVE-2013-2131)

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>