You can just pass the cashier without buying anything. The cashier won't even notice you. Nearly every bigger supermarket in Germany has only exits at the cashier.
They might not have noticed, but I would have noticed waiting in line. There wasn't room to scoot by the people and their carts, and, as I said, every other route was blocked.