erp5_project: avoid can't access error when get contents

if such error occurs, this listfield show "You selected an item that was not in list" error message when save
7 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds