fix for ignore file rule excluding directories