DM: fix `--config $VIA-pdf` to not crash

Review URL: https://codereview.chromium.org/1513323002
3 files changed