Bug fix for travis-ci/travis-ci#1840

When allow_failures contains a nonsensical key-value pair,
we end up having an empty `config` here.
As we all know, `{}.all?` returns `true` no matter what the block.
This results in our allowing every job to fail.