Add slash to package dir URI after resolving reference against base. Used to add slash to reference before resolving it. It only makes a difference for the empty URI reference which never makes sense anyway - this just ensures the error is the same as on the VM. It is, arguably, what the specification requires. R=sgjesse@google.com Review URL: https://codereview.chromium.org//1297923004.