Minor fix to correct issues noted in commit puppetlabs/puppetlabs-mcollective@cc7f3ec78c