Corrects conditional checking grep output for undercloud complete

Change-Id: Ieaf54de38ba3ba0db19fb22de6053b1548ea853a