fixes #218: Use utility methods of package for cortex publish; fixes #221: Remove option --tar for cortex publish