I updated the condition and the message to include the URI.
Also, you don't need String.format() inside the Preconditions.checkState().
checkState recognizes the %s format already (but nothing else) .