deposit: fix for dynamic field choices

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>