Fix nasty panic on accessing non-existent URI values