Redmine #6481: the detection of the package manager was wrong