Revert "Bugfix empty ignorepath"

This reverts commit 62404d55819453e47409b8548044b83515772655.