Fixed potential undefined variable warning in URI constructor.