Catch missing resource error when deploying

Under certain situations you can get a missing resource HTTPNotFound error when deploying.
This traps that error.

Change-Id: I4f17986ae8d17be6fc19fde57470ebdd8680cf30