dynamic miniprod production fails if some empty trajectory sqlite files
add a check to avoid empty trajectory files (sqlite) being present in workspace/trajectories and add a control to the API reading the content of these files.
It seems to affect the miniprod production whether or not the corresponding dynamic site is in a collection associated with the dataset being processed.