Fix two usages of slashes
Fix two usages of slashes

- Initial slash means "match at root of project";
handled by removing the path of the current project.
- Trailing slash means "match only if directory";
handled by adding a trailing slash to the path.

leny/atom-tree-ignore