Merge pull request #548 from DHager/bugfix_exclude_hiddendirs

Bug: Does not exclude hidden folders in a relative context