bug fix for #109

Hello, 

I ran into the problem reported in bug #109 too. These mods allowed me to create a cluster. I used it to create an ipython cluster on GCE. 

-jk