Use KOSRelease from C++ to detect OS instead of the presence of update-alternatives
src/helper.cpp
uses update-alternatives
presence in two locations to detect if the OS is Ubuntu or a derivative.
This doesn't work as Fedora also has update-alternatives
.
We remove this detection code in a patch down stream, but it would be great to have this detection improved, so distros aren't carrying patches.