Fix bug https://bugs.launchpad.net/nova/+bug/1368391