for the packages/libraries with exclude in their composer.json I generate a blacklist pattern like
$LIBRARY_PATH$.*%s.* where %s is one exclude pattern. so I think it would be correct this way