Fixes Issue 10432 - --dry-run option attempts to read non-existent file.
Merge pull request #69 from AndrejMitrovic/Fix10432

Issue 10432 - --dry-run option attempts to read non-existent file.