Terremark xml parser fixes - issue #1549

Fixes for: https://github.com/fog/fog/issues/1549