[FrameworkBundle] Fix a BC break for Hinclude global template

@fabpot should the one who broke BC write a UT for this ? (I won't have time in the next few days).