fail tests by using app init to create repo
use CmsRepoException instead of KeyError