fix: Fix the wrong value of the target template when s2i is rebuild
Created by: harrisonliu5
What type of PR is this?
/kind bug
What this PR does / why we need it:
Fix the wrong value of the target template when s2i is rebuild
Which issue(s) this PR fixes:
Fixes kubesphere/ks-devops#625
/assign @leoendless