WICKET-4270 Remove superfluous call to ResourceReference#getResource() in ResourceMapper when trying to map the resource URL