fixing the safe_qgis import in safe