Modifing validation for paths

See LOGSTASH-942 for more info
Merge pull request #392 from electrical/path_validate_changes

Modifing validation for paths