Fix SPLIT_COMMIT placeholder replacement in fork
The previous replacement logic was broken - it was mangling the string
by splitting on 'S' instead of replacing the literal "SPLIT_COMMIT".
Simplified to a straightforward prefix check and substring replacement.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>