[#918]: Fix missing packages when using XSL templates