B #5712: Fix segfault on VM instantiate (#1725)
B #5712: Fix segfault on VM instantiate (#1725)

(cherry picked from commit c5c6f1a35a7cda82688362d05ddbaefcf5f06662)

OpenNebula/one,OpenNebula/one,OpenNebula/one,OpenNebula/one,OpenNebula/one,OpenNebula/one,OpenNebula/one,OpenNebula/one,OpenNebula/one