He was lucky that the media blamed Pepe for the 2nd goal instead of him.
If you watch the replays you can see that Pepe, Marcelo and Carvajal are building an offside line and Suarez was at least on and a half metres behind it. But 1 second before the pass was played, Ramos acts like a headless chicken that wants to play hero and runs behind the offside trap, making Suarez onside and then additionally to that he misjudged the pass completely.
Of course Pepe wouldnt catch Suarez then, he needed a half second to realize that Ramos fucked it up, and then Suarez was already away.
Pepe made no fault here, but a defensive line is only as strong as its weakest link and Ramos simply IS the weakest link, while Pepe is actaully a decent defender who gets constantly put into these stupid situations because Ramos has no sort of defensive coordination, and this is why i compare him to David Luiz.