Result of getSoftwareURL can contain other replacements, so replace it very early in order to avoid such issue.