Fix bug in pylint version parser (see #865)