seajs/seajs — pull request #288 by Leegorous (2012-07-17 02:57:51+00:00)
Title: Incorrect resolved path if config.base is root

```javascript
seajs.config({
base: '/root-path/'
});

require.resolve('z')
```
The expected resolved path is http://host/root-path/z.js,
but was http://host/path/to/page/root-path/z.js

A little assert before id2Uri will fix this.