Bug/10 error on generate unexisting node

#### Reviewers
@hmunfru @twiindan
#### Description
Related to issue https://github.com/telefonicaid/fiware-sdc/issues/10
#### Testing
Unititests passed.