Avoid crash when declining deleting a file

https://retrace.fedoraproject.org/faf/problems/1586226/