Update provider_replace_or_add.rb

'modified' will be true when 'found' is true. Since we want to add the line if it is not in the file, 'modified' is not needed. In the code above (!found && modifed ) will never be true.