My first thought was oh, gosh, I hope it wasn't looking for a place to have babies!!!!!! Uggh. Snakes are creepy! I don't mind the nonvenomous ones, as I know they are good to have around, but they still give me chills. 
When I was a kid, I remember finding a snake in the house (we live in Florida). It was a small snake, with a pattern on it. Don't think it was venomous. My mom got rid of it. But, it was really, really scary knowing that it found a way to get in. But, back then, our house was a big, not well made, house. It had been moved from in town, out to where we bought it from. We had no heat, no air, 32 windows, even though it wasn't that big of a house, no insulation, lots of cracks around the windows and in the floors (wooden floors). It was like a big, ole drafty barn, but it was all we could afford. Lots of places for critters to come in though!
We had snakes outside ALL the time! Even though we had cats and dogs.  My sister and I were walking up the driveway one day, after school (dirt driveway) and she almost stepped on a snake. I saw it and screamed! It wasn't venemous, but it was just laying there sunning itself! It blended in to the dirt really well.
I remember a copper head in a tree we were climbing. A rattle snake in the field out behind our garden. Lots of rattlesnakes all over, but that was the closest one. We were out picking blackberries and there it was!
We had a HUGE indigo snake that lived in our yard for years and years. My dad always said it was good to have around cause it kept other snakes away. We also had black snakes. It wasn't unusual to step outside to bring the clothes in off the line and see a snake slither by! Eeeeekkkks! Seems like we had a lot of snakes, anyway, so without it, there probably would have been more!!
Snakes were just a way of life. Thinking back on it, my mom must have freaked out every time we set food outside the door! I know I would, now, as a mom! Thankfully, we rarely see any snakes where we live now.
I hate roaches, too! LOL
Glad you were not bit. I wonder what kind it was...
Kathy