Fix old _wait_until_running method.

Contributed by Bob Thompson, part of LIBCLOUD-339.


git-svn-id: https://svn.apache.org/repos/asf/libcloud/trunk@1490458 13f79535-47bb-0310-9956-ffa450edef68