bug/194

Fixes issue https://github.com/telefonicaid/fiware-connectors/issues/194 (0.4.2 version)
What about unifiyting the two ifs with?

```
if (contextAttributes == null || contextAttributes.isEmpty()) {
...
}
```