Fix cache miss on repository model retrieval
Merged #83 "Fix cache miss in repository model retrieval"