Fix typo in finding config setting

And add config print setting for puppet 2.7+