This happens if you request a nonexistent environment.
In this particular case, dist: doesn’t accept a list – so you end up requesting something like dist: '["bionic", "xenial"]'. You need to write:
matrix:
include:
- dist: bionic
- dist: xenial