Add PlatformRepository::PLATFORM_PACKAGE_REGEX to remove duplication