don't break processing if target file doesn't exist (just because for metadata processing)
fixed test
(cherry-picked from 80e6a1f)