fix url generation ...

now a test to nested repositories (testInitialPage test) is passing on windows os.