Bug/10 error on generate unexisting node

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