Fix: Python-instantiated nested components with hyphen naming convention
Added a fix to an issue where python-instantiated components could not find the templates for nested components if those templates used hyphens in their names.
Added a fix to an issue where python-instantiated components could not find the templates for nested components if those templates used hyphens in their names.