added fix for remotecli during deployment

added fix for remotecli during deployment