Fix some duplicate declaration when using puppetlabs backend