Instead of checking the distribution name (which apparently is tricky to find out) check if /usr/bin/apt-get is managed by RPM. Fixes #43539