Find packages that directly or indirectly import a set of changed files.