Fixes #6914 - puppet class with numeric name can neither be edited nor deleted