Restrict ignoring folders to root directory