Fixed expect script for deploy the current component

Change-Id: I3ec4cc2c3b594300558eb50183a49b74bc964e49