Setting hg repository path in static constructor of HgRepository