Prioritise package manager detection