deposit: autocomplete from KB fix

* Adapts to new autocomplete_fn parameter.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>