Up until the very moment that Hermione crossed through the doorframe, she feared that it was all just another elaborate trap. When they were no longer in the room and at the foot of a staircase, she relaxed only slightly. She didn't know where they were. There might still be plenty of opportunities to be attacked.