[TECH SUPPORT] LPS-28363

Hi Máté,

Riccardo already sent a pull for this before... it's about exceptions after undeploying a layout template. 

I decided to go a different way though and just added a null check. The problem is that we cannot assume that a certain layout template actually exists—it could in fact be a plugin which has already been removed.

Thanks,
Daniel