break if expect is not installed

Change-Id: I4bf6a8ba80c071cb4a04aeefa9ec68910e3c818e