Or stray solder/wire underneath/inside the pot.I would disconnect everything and test each component separately. It's a little more work, but it will be easier to find the trouble.
And you can do a nicer job than whoever was in there before.
Edit: just saw you posted its working. Maybe there is an intermittent short at the pickup.
.
