Bug 859573 - Trap ValueError encountered on B2G emu (vm) tests; r=bustage