public function getComponentPath($component)
    {
        try {
            return $this->findOrFail($component)->getPath() . '/';
        } catch (ComponentNotFoundException $e) {
            return $this->getPath() . '/' . Str::studly($component) . '/';
        }
    }