Yeah, it's just endless enemies, and it's near the beginning of the game, not the end. Backtracking in the tunnels during the second trip will lead you to the W-Item materia, not a door.