[FIXED JENKINS-23393] Skip rebase on main branch

Skip automatic rebase action when the project does not build a Subversion feature branch.