This reverts afb0c27 before trying a new approach
Add Foreman.is_uuid?
Code and tests to nil the certname of a host after revoking its uuid-based certificate and before enabling autosign for a hostname-based certificate