Add test case for package target with version = "undef"
Fix bug in the roots Action.

We need to check the whole dependency tree for
every dist, so we can disqualify all their dependencies
as roots.  Otherwise, we report way to many roots.