Fix for dirname test 2
ignoring some folders