Fix pylint errors
Keep sys path clean when package is unloaded