Avoid errors due to var dir existing