I misunderstood before_script, I thought it ran only once globally. I've restored it.