Fix supervisor platform-dependent templates selection