Fixed broken expect script

Change-Id: I5a6a1efbab1bda46bc19c29717bc65a939916ac9