The spec duplicated collectEventRelations' source-selection block; extract collectPackageSources and use it from both sides.