tests: add a missing "cd .." to test-rebase-inmemory.t

Authored by martinvonz.