$downloader, not $this->downloadManager.  getInstallPath(), not getPackageBasePath().