[COMMON] Fix deploy.sh/undeploy.sh scripts

- fix bugs introduced after Honolulu
- use exit code 1 rather than 0 when scripts are not called properly

Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: If4bff02bcf8c26b924ce6d5281d6ad35f3defa40
2 files changed