hardening/175

Fixes issue https://github.com/telefonicaid/fiware-connectors/issues/175
// if    (copy 'n paste is dangerous :-))