Raise http404 when get repo returns none