More robust VBoxManage error checking. [GH-1669]