Merge pull request #441 from poucet/ignore-pattern

Ignore pattern
Merge pull request #442 from poucet/bugfix

Fixed a null-exception on ignorePattern.