deposit: FileUploadField RequiredIf validation fix

Signed-off-by: Pedro Gaudêncio <pedro.gaudencio@cern.ch>