Fix some tests.
Make the export use a subdirectory of the export root based on the
AD group of the owning repository.
Fix string.