Import empty Anchore policies without error (#2896)
Import empty Anchore policies without error (#2896)

* Import empty Anchore policies without error

This results in objects such as checks and images not being a dictionary when parsing a empty policy.
Signed-off-by: Cosmin Cojocar <112e745b77806b8de501a17a904453ff4f259ff0@cloudbees.com>

* Log the exception message when importing an empty Anchore policy

Signed-off-by: Cosmin Cojocar <112e745b77806b8de501a17a904453ff4f259ff0@cloudbees.com>
rackerlabs/django-DefectDojo,rackerlabs/django-DefectDojo,rackerlabs/django-DefectDojo,rackerlabs/django-DefectDojo