Fix error with --ignore option, closes #15