EZP-22152: Don't retrieve legacy templates list if legacy kernel ain't booted