[pyqgis-console] fixes import warning