fixed bug in puppet apply in finding title for dynamic attributes on components with titles