Remove gsub from templates

The # as comment marker should be supported since apt 0.7.22