Remove import lines from puppet files before parsing

See: http://projects.puppetlabs.com/issues/9670
     http://projects.puppetlabs.com/issues/9670#note-14