There are several songs that use that line as a refrain - with several different tunes. The one you're thinking off DOES have a similar (jig) rhythm to Lilibulero and the tunes are not a million miles apart.
- which is not to say that your thesis is right!
Regards