checkstyle.sh: fix for environments where pylint != pylint2

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Merge pull request #632 from benemorius/pylintfix

checkstyle.sh: fix for environments where pylint != pylint2