be more robust when removing download artifacts and remove bogus raise s...

...tatement