Fixes #5169 - Error in smart class param or value cause tab header to turn red...

... in Puppet Class edit form