Fix empty key value in mine

We need to use another source of certificate if 'key' in mine is
'None' or we can't finish the state.

Related-PROD: PROD-36372
Change-Id: Ic2a248b19c273d6f5d737427f7e002c63b20d2c4
1 file changed