Fix/node delete bug

#### Reviewers
@hmunfru

#### Description
node delete process not stopped when puppetwrapper endpoint is not defined

#### Testing
Teste locally