<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def handle_template(self, template, subdir):
 """ Use yacms's project template by default. The method of picking the default directory is copied from Django's TemplateCommand. """

        if template is None:
            return six.text_type(os.path.join(yacms.__path__[0], subdir))
        return super(Command, self).handle_template(template, subdir)