Prevent to start deploy task if provision was fail

Change-Id: Iad1f701886cee315251537537e91c4ca5a846829
Closes-Bug: #1320072