Using Bootstrap to retrieve the application context will be deprecated. Retrieving it with \TYPO3\CMS\Core\Core\Environment::getContext() should fix that. (also fixes an installation issue with version 9.4)