[JENKINS-21016] ensure that credential section is removed otherwise end up with multiple [credential] sections, or worse, multiple credential.helper rows