I forgot to configure the key (forgot to create the bundle configuration).
This resulted in an empty key and when I ran the replace command of the bundle, every existing section (with other keys) in my crontab were replaced by the cron entries.
I think you should not allow empty key or mayby include the line break in the regex pattern used to find the old section.