allow Pathname matching + remove obsolete code
Merge pull request #639 from guard/handle_relpath_failure

allow Pathname matching + remove obsolete code