Updated repository status tests to work with multiple versions of Git.