public function getBundleVendorDir()
    {
        $psr4Path = $this->getRootDir().'/../vendor/rch/capistrano-bundle';
        $psr0Path = $psr4Path.'/RCH/CapistranoBundle';

        if (is_dir($psr0Path)) {
            return $psr0Path;
        }

        return $psr4Path;
    }