Fixes invalid dictionary access.
Merge pull request #561 from weitzj/bugfix/docker-extra-params

Fixes invalid dictionary access.