Most issues with reptiles aren't airborne, so just having him in the same closet as the gecko shouldn't cause a problem, but if you're worried just don't use the same tongs/equipment/whatever for the gecko until the snake's RI gets cleared up.