Fix handling of multiple sections on install