set the correct repository