Catch virt os.errors and return a failure