fixes #3090 - new puppetclass creation fails when adding smart variable