Merge pull request #18 from juju/bug/17/keyerror-deploy-expose