A remark on the group of automorphisms of a foliation having a dense leaf