[NEXUS-6539] Move sanitization for runtime instances which sorts out proper base-url to NexusReferenceFactory overriding behavior in DefaultReferenceFactory which is still used by tests and expect previous behavior.