B #5465: Fix history record check while getting VNC port
B #5465: Fix history record check while getting VNC port

(cherry picked from commit 04b557188fdf1dab72c46e8d94a9e1da94dde0c5)

OpenNebula/one,atodorov-storpool/one,atodorov-storpool/one,baby-gnu/one,atodorov-storpool/one,OpenNebula/one,atodorov-storpool/one,atodorov-storpool/one,OpenNebula/one,baby-gnu/one,baby-gnu/one,baby-gnu/one,atodorov-storpool/one,OpenNebula/one,OpenNebula/one,OpenNebula/one,OpenNebula/one,OpenNebula/one,atodorov-storpool/one,atodorov-storpool/one,baby-gnu/one,baby-gnu/one,baby-gnu/one,OpenNebula/one,baby-gnu/one,atodorov-storpool/one