#129: fix for temporary redirects as proposed by kaptajnen

Hi, 
with the change of kaptajnen (mentioned in #129) it's running fine for me now since several days:
* starting/stopping instances with python 2.7 and python 3.4

Since I'm working on an ansible azure module the temporary redirects keep biting me from time to time when waiting for running instances and the fix from kaptajnen would be very welcome from my side ;)

Thanks