[CLEANUP] remove deprecated repository constructor