bug #3153: fixed

Fix for bug #3153 http://dev.opennebula.org/issues/3153