Fixed ignore option default value.

This commit avoid "AttributeError: 'str' object has no attribute 'append'" error if a ignore option is set.