Jinja calculation for an hidden variable with a potential inaccessible varible