Sometimes it's part of a sytem used to keep wet grit slung onto the cable from leaking it's way into the cable covering. Usually the ferrules have little nipples that the cover slides onto. Looks like yours might have been a half azzed attempt to do the same.