backuptool: Ensure to cleanup the environment on failure

Change-Id: I6f974a40b4f3f4a0a1f3a4b46bf8e0cfeb81c4ec
1 file changed