private function getCommonTemplateDirectory()
    {
        $commonDirectory = realpath($this->templateDirectory . '/_newup/common');

        if ($this->files->exists($commonDirectory) && $this->files->isDirectory($commonDirectory)) {
            return $commonDirectory;
        }

        return null;
    }