[NEXUS-5806] Throw IllegalStateException in case that we cannot build content URL of the repository because base url is not set