install.py: fixed pylint warnings