handle absence of gitlab module

don't crash the instance at startup if gitlab module is not available.
This is a deprecated was of catching errors, please use either
```python
except ImportError:
except ImportError as exc:
```