Germany passes new law on repository selection