Use an empty list instead of None for empty ignored_paths.