[mb2] Improve deploy error handling

Signed-off-by: Juha Kallioinen <juha.kallioinen@jolla.com>