JENKINS-22342 ensure URL normalization correct

Previous attempts to fix this stored the normalization flag
in the serialized repository browser. Moved to be a function
call to avoid the deserializer getting involved