Fix path cleanup in coverage