Change allow_failures to not global env vars into account (hacky :boom:)