Add trailing slash to excluded folders