knowledge: fix backward incompatible change in API
Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>