repository: default entity must be set [closes #16]