Fix puppet.conf check
Fix puppet.conf check

puppet config print certname will return $fqdn as the certname value
even if puppet.conf does not contain it - this checks for it to be
actually present before using it

mikaeld66/himlar,tanzr/himlar,raykrist/himlar,tanzr/himlar,TorLdre/himlar,raykrist/himlar,tanzr/himlar,raykrist/himlar,eckhart/himlar,TorLdre/himlar,TorLdre/himlar,norcams/himlar,norcams/himlar,tanzr/himlar,tanzr/himlar,mikaeld66/himlar,TorLdre/himlar,raykrist/himlar,mikaeld66/himlar,mikaeld66/himlar,eckhart/himlar,norcams/himlar,raykrist/himlar,eckhart/himlar,norcams/himlar,eckhart/himlar,mikaeld66/himlar,TorLdre/himlar,erlendbm/himlar,norcams/himlar,erlendbm/himlar