Fix Jenkins complain about generic type.

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>