Fixes #9359 - Display puppetca in YAML when the host is not managed

Hi i do a pull request for this bug.

can you test this fixes, in the pull request i have this information :
*default *— You're not in the automated testing whitelist. Please contact
us at #

Thanks