Indeed that could have ended extremely badly. Personally I would have avoided the dark damp hole that might have been deeper or filled with an obvious horde of carrion crawlers or otruyghs since there was refuse down there.