Remove checking '/etc/puppet/' to check previous puppet installations. But checking for '/var/lib/puppet' still exist