Prevent race condition on suffixing requestedPath with "/"