<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_registration(self, path):
 """ Returns registration item for specified path. If an email template is not registered, this will raise NotRegistered. """

        if not self.is_registered(path):
            raise NotRegistered("Email template not registered")
        return self._registry[path]