Only return createRepository from db