hadrian: Throw error on duplicate-named flavours