Fixed an infinite loop when creating a repo at the root of the filesystem, i.e. "/", due to posixpath.normpath() not collapsing 2 leading slashes into one, thus respecting the POSIX standard, but making relpath() loop infinitely.
Also, patched the files that were calling posixpath.normpath() directly, to osutils.normpath() instead.