Handle cases where command's attribute has no datatype

Fixes https://tickets.puppetlabs.com/browse/RAZOR-268