CA-136275: Making the snapshot import instruction execution code more robust to failure.

Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
Merge pull request #8 from rdobson/ca-136275

CA-136275: Improving robustness of instruction parsing code
Merge pull request #9 from xenserver/master

Pull in changes to fix CA-136275.