StageOutImplV2 plugin: improve detection of local files. Fixes #5255
Merge pull request #5259 from juztas/master

StageOutImplV2 plugin: improve detection of local files. Fixes #5255