Fixed an bug with tenant configurations and the new AssembliesDirectory setting.