analyze: badness if neither of RootImage and RootDirectory exists
Instead of requiring both RootImage and RootDirectory directives, give badness
points if neither is present. Fixes conversion in d737b451.
(cherry picked from commit d909b40f)
(cherry picked from commit 0130a031)