core: prevent calling catalog with an empty list

Folder_getDeleteObjectList could do an extra paranaoïa check that the
caller did not pass an empty list of uids, because this would cause the
script to iterate on the full catalog table.
6 jobs for feat/erp5_core_vs_pylint in 0 seconds