fix(templates): check for folder existance before deletion