Fix wrong parsing of lines in ignore files.