    public RekeySecretAdminMonitor() throws IOException {
        // if JENKINS_HOME existed <1.497, we need to offer rewrite
        // this computation needs to be done and the value be captured,
        // since $JENKINS_HOME/config.xml can be saved later before the user has
        // actually rewritten XML files.
        if (Jenkins.getInstance().isUpgradedFromBefore(new VersionNumber("1.496.*")))
            needed.on();
    }