That is why it is important to change the oil often after major work, Now if the engine had some miles on it and that started appearing there would be an issue.
Next time squeeze the folded up filter element in a vice to get the oil out before inspection.