Ensure that repository is clean after tests