If it were me, I would do what I could to keep the snake from getting in. Have you tried different tactics to get rid of it? Here is an infographic with some good tips - http://www.poultrydvm.com/featured-infographic/dealing-with-ratsnakes-in-chicken-coops