No need to check for duplicates as it is now handled by setup.sh deduplication. Also should use targetOffset here instead of hostOffset because we are using stack-hook natively.
This makes things easier and hopefully fixes the arg too long issue. Fixes #49206.