protected function initializePackageData()
{
$filePath = $this->vendorDir . DIRECTORY_SEPARATOR . self::PACKAGE_DATA_FILENAME;
if (!is_file($filePath)) {
$this->packagesData = array();
} else {
$this->packagesData = json_decode(file_get_contents($filePath), true);
}
}