The if is already completely removed, see https://github.com/contao-community-alliance/composer/blob/master/src/system/modules/!composer/ContaoCommunityAlliance/Contao/Composer/Runtime.php#L247
This is the view on the original PR, no wonder it is already shown here ;-)