Fix EZP-23487: file may have already been removed