Use the puppet agent configprint to get local certificate informations

As described in PDB-143 it should be better to ask for the agent version
of certificate related informations. This will also work on nodes where
no puppet master is configured.