Having encountered this myself, I presume you're running a relatively current version of Composer compared the the rest of your packages. The error is due to your version of Symfony being very outdated and as a result the sensio/distributionbundle post-install hooks now pass invalid data back to Composer.
Downgrading Composer to 2.2.x should be an old enough version to mean the install works, though it'd be a far better idea to remove the reliance on sensio/distributionbundle which has been archived and unsupported for many years now.