Allow site URLs with trailing slashes

When the site owner puts a trailing slash in their site url field, the plugin breaks because it starts looking for matches with two slashes (http://example.com//path/to/asset.jpg) instead of the correct (http://example.com/path/to/asset.jpg). This strips any trailing slash in the site URL before sending it into the regex.