#97987[BUGFIX] prevent array access warning on deleted database record
Description
if a sys_file record is directly deleted from database, some undefined array index warnings are triggered if the file is assigned to another database record.
This issue was automatically created from https://github.com/TYPO3/typo3/pull/394