update check in waitForAutoscalingInstances

Change-Id: I83dc3001b09ce68596634190835f119e1acde443
2 files changed