Use InMemoryRepository in acceptance tests

We can no longer use CloneCommand, which always produces an on-disk
repository. Instead "clone" by setting up a remote and checking out a
detached head.

Change-Id: I94bc3d9b231526bb5740c530702f5c918c61cc03
13 files changed