Refine logging for apt, otherwise it fires with every non-debian os