Fix PUT to bad URI, returns 404 for unknown resources