Clean up basepath again.