simplify hostname assignment
simplify hostname assignment

rather than using python's equivalent of ?: we use the boolean
evaluation of an empty string being false.
This fixes #2

Brainsware/puppet-kvmhost,Brainsware/puppet-kvmhost,Brainsware/puppet-kvmhost