check that file owner is not null before using its properties

Closes #3588332

Merge request reports

Loading