fix for loop when nova-compute is dead

Change-Id: I2a62354726aac8d6e1c56680988f939848aa3249