Extra debugging output for the analyze command.
Use an empty Array when no dirs are given.

When the `directories` option is set to `nil` it should fall back to an empty
Array instead.