add if's to avoid VBoxManage spewing errors to the console