LPS-39675 Prevent the layouttemplate listener to be executed when the layouts are included within a theme. This way we can combine layouts and themes in the same Liferay plugin