Merge branch 'master' of github.com:kaelzhang/cortex
fixes #251: command/publish: fix a fatal error that cortex will publish wrong content of cortex.json