fix extraction of automation from Chef run