The dependency chain should not include roles below the parent, as it can introduce very weird things like conditionals from child deps impacting non-related roles. Fixes #25136