repository: don't depende on relative parent path for running tests
repository: raise test coverage

Added test to make sure that GetServerUri panics when git:host is
undefined.