Fix for JCLOUDS-655

First time committing to jclouds, let me know if there are any style guidelines I missed with this change.
Gonna leave this public so I can unit test the class.