[release-3.1] Determine the status' type of clusterconfiguration
Created by: ks-ci-bot
Check the type of clusterconfiguration's status before using, so as to avoid installation failure caused by the null type of status in new installation environment.
This is an automated cherry-pick of #1579