Fix distro management