Restore behaviour where we only scanned a subset of plugin dependencies