Its been a while since I have looked at commercial snake repellents but last I remember the primary ingredient in them was Cinnamon. You might want to see if that is still true. If so a large bottle of cinnamon might be something to include in your potting supplies and sprinkled in and around pots to make the area a bit less appealing. If the figs are attracting small rodents, it might deter them too the same way mothballs do. Fewer rodents, fewer snakes. It should not not hurt your figs.