setup graphs on reloaded manager in tests
Break getPermanentRepository after load in a test

This looks like the cause of exportArtifact being broken, and hence one
of the causes of issue #129